/* package com.example.papercut.entity;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class User {
    private Integer id;
    private String username;
    private String email;
    private LocalDateTime registrationDate;
} */
package com.example.papercut.entity;

import java.time.LocalDateTime;
import lombok.Data; // 假设使用 Lombok

@Data
public class User {
    private Integer id;
    private String username;
    private String email;
    private String password; // 存储加密后的密码
    private LocalDateTime registrationDate;
}